//
//  ZCountDownButton.h
//  WeClubs
//
//  Created by Zed Link on 29/3/2017.
//  Copyright © 2017 Zed. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ZCountDownButton : UIButton


/**
 设置获取验证码状态时的标题与字体颜色
 */
- (void)setVerifyStateTitle:(NSString *)title andColor:(UIColor *)color;


/**
 设置倒计时状态时的标题与字体颜色
 */
- (void)setCountDownStateTitle:(NSString *)title andColor:(UIColor *)color;


/**
 指定倒计时时间, 并开始倒计时
 */
- (void)beginCountDownWithTime:(NSTimeInterval)time;


/**
 结束倒计时, 如果没有正在倒计时, 则什么都不做
 */
- (void)endCountDown;

@end
